/**
 * Created by xiaolinzhang on 2017/7/30.
 */
var wechatDao = require('../dao/WechatDao');


exports.insToken = function (token,times,callbk){
    wechatDao.insToken(token,times,callbk);
}

exports.getToken = function (callbk){
    wechatDao.getToken(callbk);
}

exports.getShareUrl = function (userId,callbk) {
    wechatDao.getShareUrl(userId,callbk);
}

exports.insShareUrl = function (userId,ticket,expire_seconds,url,callbk){
    wechatDao.insShareUrl(userId,ticket,expire_seconds,url,callbk);
}

exports.insJsTicket = function (jsticket,expire_seconds,callbk) {
    wechatDao.insJsTicket(jsticket,expire_seconds,callbk);
}

exports.getJsTicket = function (callbk) {
    wechatDao.getJsTicket(callbk);
}